* configure.in (doug_lea_malloc): Check for __malloc_initialize_hook.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 Apr 2012 06:56:42 +0000 (23:56 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 22 Apr 2012 06:56:42 +0000 (23:56 -0700)
commit14e1fe1e4b7bf16387d024db60331eae12b9663f
tree9071ce94e59608339155894dfc86487966caa544
parent23c85ba16ac5c611e2b854dac6abdba074c998c9
* configure.in (doug_lea_malloc): Check for __malloc_initialize_hook.

With glibc 2.14 or later, when compiled with GCC 4.7.0's
-Werror=deprecated-declarations flag, use of hooks like
__malloc_initialize_hook causes compilation to fail because these
hooks are deprecated.  Modify 'configure' to check for these hooks too.
Simplify the 'configure' code to test for all the hooks at once.
(emacs_cv_var___after_morecore_hook): Remove, replacing with ...
(emacs_cv_var_doug_lea_malloc): ... this new var.
ChangeLog
configure.in